package com.design.strategy.calculator;

public class Minus extends AbstractCalculator implements ICalculator {

	@Override
	public int calculate(String exp) {

		int[] intValue = split(exp, "\\-");
		return intValue[0] - intValue[1];
	}

}
